<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/3/19
  Time: 10:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <meta charset="utf-8">
    <title>没饿哦——打造全国顶尖外卖</title>
    <meta name="renderer" content="webkit">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <link rel="shortcut icon" href="/images/user.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/user/index.css">
    <link rel="stylesheet" href="/css/user/footer.css">
    <link rel="stylesheet" href="/css/user/header.css">
    <script src="/layui/layui.js"></script>
    <script src="/js/user/main.js"></script>
    <script src="/js/jquery-3.3.1.min.js"></script>
</head>
<body>
    <div id="usrid" hidden>${user.userId}</div>
    <div class="we-two layui-main">
    <div class="we-title">
        <h3>
            <img src="/images/logo.png" alt="美食推荐">
            美食推荐
        </h3>
    </div>
    <div class="recs">
        <%--热门美食列表--%>
        <div class="list"></div>
<%--        <div class="recs_col">--%>
<%--            <div class="we-focus__list-title">--%>
<%--                <h3 class="title-main">--%>
<%--                    热门店铺--%>
<%--                </h3>--%>
<%--            </div>--%>
<%--            &lt;%&ndash;热门店铺列表&ndash;%&gt;--%>
<%--            <div class="book-list">--%>
<%--                <ul class="shop-list"></ul>--%>
<%--            </div>--%>
<%--        </div>--%>
    </div>

        <%-- 添加或者修改弹出框开始 --%>
        <div style="display: none" id="addOrUpdateDiv">
            <form class="layui-form" lay-filter="dataFrm" id="dataFrm">

                <div class="layui-form-item">
                    <div class="layui-inline" id="d1" >
                        <label class="layui-form-label" style="margin-top: 40px">商品图片:</label>
                        <div class="layui-input-inline" style="padding: 5px;margin-top: 50px;">
                            <img id="i1" style="width: 200px" >
                        </div>

                    </div>

                    <div class="layui-inline" id="d2" style="margin-top: 50px">
                        <div>
                        <label class="layui-form-label">商品描述:</label>
                        <label style="width: 180px;" class="layui-form-label" id="l1" title="这里是描述"></label>
                        </div>
                        <div style="height: 100px" id="id" hidden></div>
                        <div style="height: 100px" ></div>
                        <div style="margin-top: 50px">
                            <label class="layui-form-label">商品价格:</label>
                            <label class="layui-form-label" id="l2" title="这里是价格"></label>
                        </div>
                        <div>
                            <label class="layui-form-label">购买数量:</label>
                            <input  type="number" name="count" id="count" autocomplete="off" class="layui-input layui-input-inline"
                                   placeholder="请输入购买数量" style="height: 28px;border-radius: 10px" lay-verify="required">
                            <%--<label class="layui-form-label" id="l3">这里是数量</label>--%>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block" style="text-align: center;padding-right: 120px">
                        <button type="button" onclick="sub()"
                                class="layui-btn layui-btn-normal layui-btn-md layui-icon  layui-btn-radius"
                                lay-filter="doSubmit" lay-submit="">添加到购物车
                        </button>
                        <button type="reset"
                                class="layui-btn layui-btn-warm layui-btn-md layui-icon  layui-btn-radius">重置
                        </button>
                    </div>
                </div>
            </form>
        </div>
        <%-- 添加或者修改弹出框结束 --%>

</div>
</body>
</html>
